home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softdisk Supreme
/
Softdisk Supreme.iso
/
pc
/
DSK Files
/
0-49
/
SD001b.dsk
/
LEARNIT.bas
< prev
next >
Wrap
BASIC Source File
|
2003-06-12
|
2KB
|
70 lines
10 REM LEARNIT
20 REM
30 REM NEIL R. CARLSON, LEARNIT, A MEMORIZATION AID PROGRAM, ON COMPUTING, 3(1):72-78, 1981
40 REM AUTHOR'S ADDRESS:
50 REM 64 HARKNESS ROAD
60 REM PELHAM, MASS 01002
80 DIM TX$(24): DIM LT(24): DIM SP(24,80): DIM X$(24): REM 24X40 CRT SCREEN
90 GOSUB 660: REM CLEAR SCREEN
100 PRINT "THIS PROGRAM WILL HELP YOU MEMORIZE A POEM, SPEECH, OR ANY OTHER PASSAGE."
120 PRINT
130 PRINT "THE LENGTH OF THE TEXT IS LIMITED BY THE SIZE OF THE SCREEN."
135 PRINT
140 PRINT "IF THE TEXT IS TOO LONG, LEARN IT IN PIECES."
150 PRINT
160 PRINT "BEFORE PRESSING RETURN, MAKE SURE THAT THERE ARE NO MISTAKES IN ANY LINE BECAUSE ONCE IT IS ENTERED, IT CANNOT BE CORRECTED."
180 PRINT
190 PRINT "TYPE A $ (DOLLAR SIGN) ON THE LAST LINE TO SIGNAL THAT YOU ARE DONE."
200 PRINT
210 PRINT
220 FOR I = 1 TO 24
230 INPUT TX$(I)
240 IF TX$(I) = "$" GOTO 260
250 NEXT I
260 NL = I -1
270 GOSUB 660: REM CLEAR SCREEN
280 FOR I = 1 TO NL
290 FOR J = 1 TO LEN(TX$(I))
300 IF MID$ (TX$(I),J,1) < >" " THEN LT(I) = LT(I) +1:SP(I,J) = 1
310 NEXT J
320 NEXT I
330 PRINT "PRESS RETURN TO SEE PASSAGE. WHEN IT APPEARS READ IT ALOUD VERY CAREFULLY."
335 PRINT
340 PRINT "THEN PRESS RETURN AGAIN, AND SOME OF THE LETTERS WILL DISAPPEAR."
345 PRINT
350 PRINT "READ THE PASSAGE AGAIN, AND THEN PRESS RETURN TO ELIMINATE SOME MORE LETTERS."
355 PRINT
360 PRINT "IN TEN PASSES ALL THE LETTERS WILL BE GONE AND YOU WILL HAVE IT MEMORIZED!"
380 INPUT DU$
390 GOSUB 660: REM CLEAR SCREEN
400 FOR I = 1 TO NL
410 PRINT TX$(I)
420 NEXT I
430 INPUT DU$
440 FOR CT = 1 TO 9
450 FOR L = 1 TO NL
460 ND = INT(LT(L)/(11 -CT))
470 IF ND = 0 THEN GOTO 550
480 FOR D = 1 TO ND
490 CH = INT( LEN(TX$(L)) * RND(1)) +2
500 IF SP(L,CH) < >1 THEN 490
505 X$(L) = " "
510 TX$(L) = LEFT$(TX$(L),CH -1) +X$(L) + MID$ (TX$(L),CH +1)
520 SP(L,CH) = 0
530 LT(L) = LT(L) -1
540 NEXT D
550 NEXT L
560 GOSUB 660: REM CLEAR SCREEN
570 FOR I = 1 TO NL
580 PRINT TX$(I)
590 NEXT I
600 INPUT DU$
610 NEXT CT
620 GOSUB 660: REM CLEAR SCREEN
630 PRINT "YOU ARE FINISHED... NOW SEE IF YOU HAVE IT MEMORIZED."
640 GOTO 700
650 REM
660 REM CLEAR SCREEN SUBROUTINE
670 HOME
680 RETURN
700 END